#include "Support.h"
#include "StateManager.h"
#include "IntroState.h"
#include "MenuState.h"

void CIntroState::Init()
{

}

void CIntroState::Release()
{

}

void CIntroState::Pause()
{

}

void CIntroState::Resume()
{

}

void CIntroState::Update()
{
	if (GIsKeyPress(KEY_SPACE))
	{
		CStateManager::GetInstance()->ChangeState(new CMenuState());
	}
}

void CIntroState::Draw()
{
	GPutStringToBufferWithMargin("Flow", 8, GColors::LIGHT_CYAN);

	GPutStringToBufferWithMargin("Press Space to go to Menu", 12, GColors::LIGHT_MAGENTA);
}